﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;

namespace XnaGameStudio1
{
    //-----------------------------------------------------------------------------------------------
    public partial class MainFrame : Form
    {
        GameWindow gameWindow;

        //-------------------------------------------------------------------------------------------
        public MainFrame()
        {
            InitializeComponent();            
        }

        //-------------------------------------------------------------------------------------------
        private void Form1_Load(object sender, EventArgs e)
        {
            gameWindow = new GameWindow();
            gameWindow.Width = GameConstants.windowWidth;
            gameWindow.Height = GameConstants.windowHeight;

            gameWindow.MdiParent = this;
            gameWindow.Show();
        }

        private void toolStripButton_Save_Click(object sender, EventArgs e)
        {
            MessageBox.Show("haha");
        }

        private void toolStripContainer1_ContentPanel_Load(object sender, EventArgs e)
        {

        }

        private void toolStripContainer1_TopToolStripPanel_Click(object sender, EventArgs e)
        {

        }

        private void toolStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }

        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Save Clicked.");
        }

        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Open Clicked.");
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
